{% extends "order/order_base.html" %}
{% block title %}
    已完成订单
{% endblock %}
{% block content %}
    <ol class="breadcrumb">
      <li><a href="#">首页</a></li>
      <li><a href="#">订单管理</a></li>
      <li class="active">已完成订单</li>
    </ol>
    <table class="table">
        <tr>
            <td>序号</td>
            <td>下单日期</td>
            <td>详情</td>
        </tr>
    {% for order in orders %}
        <tr>
            <td>{{ order.order_no }}</td>
            <td>{{ order.order_time }}</td>
            <td><a href="{{ url_for("order.order_info_detail",order_no=order.order_no) }}">查看订单详细</a> </td>
        </tr>
    {% endfor %}
    </table>
{% endblock %}